package org.csmzxy.class2333;

public class Example04 {
    public static void main(String[] args){
        TV1 tv1 = new TV1("电视机","黑马");
        System.out.println("此家电是一个"+tv1.getType()+",它的品牌为："+tv1.getBrand());
    }
}
